package com.ysl.netty.domain;

/**
 * @author 姚善利
 * @classname com.ysl.netty.domain
 * @description
 * @date 2022/7/11 10:44
 */
public class ReplyBody extends BaseBean{

    //服务端定义的请求标识
    private String key;
    //服务的返回的状态码
    private String code;
    //说明字段
    private String message;
    //Long时间戳13位
    private Long timestamp;
    //Map请求传递的参数集合
    private String data;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public Byte code() {
        return null;
    }
}
